Class SuppressFilter

Summary

Fully Qualified Name: Laminas\Log\Filter\SuppressFilter
Implements: FilterInterface

Description

Methods

Name Description Defined By
__construct() This is a simple boolean filter. SuppressFilter
filter() Returns TRUE to accept the message, FALSE to block it. SuppressFilter
suppress() This is a simple boolean filter. SuppressFilter

Method Details

__construct()

This is a simple boolean filter.

Parameter Name Type Description
$suppress int|array|\Traversable

Returns:

filter()

Returns TRUE to accept the message, FALSE to block it.

Parameter Name Type Description
$event array event

Returns: bool accepted?

suppress()

This is a simple boolean filter.

Call suppress(true) to suppress all log events. Call suppress(false) to accept all log events.

Parameter Name Type Description
$suppress bool Should

Returns: void

Top